<extend name="Public/base"/>

<block name="body">
    <div class="main-title">
        <h2>新增客服</h2>
    </div>
    <form action="{:U()}" method="post" class="form-horizontal">
        <div class="form-item">
            <label class="item-label">客服名称<span class="check-tips"></span></label>
            <div class="controls">
                <input type="hidden" class="text input-large" name="id" value="{$_list.id}">
                <input type="text" class="text input-large" name="title" value="{$_list.title}">
            </div>
        </div>
        <div class="form-item">
            <label class="item-label">联系方式<span class="check-tips">（手机号码）</span></label>
            <div class="controls">
                <input type="text" class="text input-large" name="phone" value="{$_list.phone}">
            </div>
        </div>
        <div class="form-item">
            <label class="item-label">排序<span class="check-tips">（越小越靠前）</span></label>
            <div class="controls">
                <input type="text" class="text input-large" name="sort" value="{$_list.sort}">
            </div>
        </div>
        <div class="form-item">
            <button class="btn submit-btn ajax-post" id="submit" type="submit" target-form="form-horizontal">确 定</button>
            <button class="btn btn-return" onclick="javascript:history.back(-1);return false;">返 回</button>
        </div>
    </form>
</block>

<block name="script">
    <script type="text/javascript">
        //导航高亮
        highlight_subnav('{:U('Service/index')}');
    </script>
</block>
